package cn.easier.activity.console.service;

import cn.easier.activity.console.entity.BargainGoods;
import cn.easier.activity.console.entity.GoodsType;
import cn.easier.club.base.dto.ResultInfo;

import java.util.List;

/**
 * 砍价Service
 */
public interface ActivityBargainService {

    public List<Object> getMessage(Integer activityId, int pageNum, int pageSize);

    public BargainGoods updateBargainMessage(BargainGoods params);

    public Boolean delete(Integer egtid);

    BargainGoods findByOne(Integer id);

    Boolean runOrPauseOrSuperUser(Boolean flag, Integer id);

    ResultInfo updateGoodsStock(Integer id, int goodsStock);

    GoodsType updateGoodsTypeMessage(GoodsType params);

    List<Object> getGoodsTypeMessage(int pageNum, int pageSize);

    Boolean deleteGoodsType(Integer id);

    List<Object> getGoodsTypeSelect();

    List<Object> getGoodsOrderMessage(int pageNum, int pageSize, Integer activityId, String phoneNum, String bargainOrderNo);

    ResultInfo saveWapImg(String url, Integer activityId, String linkUrl, Integer id);

    List<Object> getAdvertisingPosition(Integer activityId, int pageNum, int pageSize);

    Boolean delAdvertisingPosition(Integer id);

    ResultInfo topFlagAdvertisingPosition(Integer id, Integer status);

    ResultInfo getActivityList();

    ResultInfo deletePrizeMessage(Integer id);
}
